import { http } from '@/axios'

/**
 * @description 用户登录
 */
export function login (data) {
  return http.request({
    url: '/user/login',
    method: 'POST',
    data,
  })
}

/**
 * @description 修改密码
 */
export function changePass (data) {
  return http.request({
    url: '/user/change_pass',
    method: 'POST',
    data,
  })
}
